package com.haoze.nurse.dao;

import com.haoze.common.mapper.MyMapper;
import com.haoze.nurse.model.PrintMarkEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PrintMarkMapper extends MyMapper<PrintMarkEntity> {

    String countByQrCode(@Param("qrCode") String qrCode,@Param("type") String type);

    int saveOrUpdate(PrintMarkEntity printMarkEntity);
    int saveOrUpdate2(PrintMarkEntity printMarkEntity);

    /**
     * 根据住院号，按照打印时间，查询医嘱
     * @param beginTime
     * @param endTime
     * @param inpatNum
     * @param type
     * @return
     */
    List<String> queryCodeByPrintTime(String dateTime,String inpatNum,String type,String administration,@Param("ordersClass") String ordersClass);
}
